Thread: Very sorry, but this must be the most n00b question =]

  1. #16
    Registered User
    Join Date
    Jan 2007
    Location
    Wolverhampton. west midlands, uk
    Posts
    4
    Sorry to be once again, even more annoying, i dont mean to be.
    Dev C++, i just dont like for some reason, whats the all over favorite, well is it called an IDE? or what? , but whats the favorite one around, doesnt have to be free or cheap.

    Many Many Thanks
    /Ben

  2. #17
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Code::Blocks has many fans.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  3. #18
    Reverse Engineer maxorator's Avatar
    Join Date
    Aug 2005
    Location
    Estonia
    Posts
    2,318
    Quote Originally Posted by Mario F.
    Yup. Perfectly good for starters.
    Dev-C++ is good for anyone. It is a nice IDE and comes with a good compiler... MinGW
    Quote Originally Posted by Mario F.
    Your friend is too pessimistic. Many have started programming in C++ at your age. Programming seems to be much easier for young minds. Just don't expect it to be too easy... or even easy
    It's true that many 13 year old children have learned C++, but I still think there are people who can't do it. One of my friends wants to be a programmer, but whenever he tries to learn C++, he does not understand anything and just quits trying. Maybe it's only the question of how easily you quit... I think there is nothing difficult in C++ - everything makes sense.
    Quote Originally Posted by Mario F.
    This is the place, for sure. But most in here expect you to not ask for the sake of asking. It's always best when you show that at least you tried to search for the answer. Anyways, start by reading the tutorials on this website. That will start you with C++... http://www.cprogramming.com/tutorial.html. Search the web for "C++ tutorial" too and you'll be amazed. Have fun and ask anytime you get stomped.
    After you have read tutorials and haven't found an answer to your question, search Cboard. Then you should try Google, but be patient - you certainly need to try many different keywords.
    Quote Originally Posted by DougDbug
    C++ is a good language to learn the foundations of programming. In some ways it might be better to start-out with a simpler language, but there are a couple of advantages to C++:
    It is good to start with easy web languages, like HTML, CSS and PHP. There it's not so important if you know exactly what you're doing.
    Quote Originally Posted by DougDbug
    The downside to C++ is that you must start-out with text-based programs. There are no graphics, color, mouse, sound, or networking in Standard ANSI/ISO C++.
    That's not a downside. Besides, it may not take very long to be ready for GUI and Win32 API.
    Quote Originally Posted by DougDbug
    I strongly recommend that you get a book. If you make it half-way through the tutorials, and are you still are interested, a book will help. A good beginning book will cover essentially the same information as the tutorials, but with much more depth and explanation. You'll typically get a full chapter on each subject covered by the tutorial. For example Accelerated C++ is about 350 pages, and Teach yourself C++ in 21 Days is about 750 pages.
    He is 13 years old. It is possible that he can't afford to buy books or he wants to do something else with his money.
    Last edited by maxorator; 01-23-2007 at 02:44 PM.
    "The Internet treats censorship as damage and routes around it." - John Gilmore

  4. #19
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >I have this book and i think it's great, this is what i'm reading at the minute, it's not a bad book.
    I'm going to hold my evaluation above yours if you don't mind. I've read it cover to cover multiple times, starting when I was first learning C++. I didn't think much of it when I read it with no experience at all, and I think even less of it now that I have a decade of experience under my belt. It's not crap, but it's not good either. I lump it with the armies of uninteresting and unhelpful titles that keep you from finding the real gems.

    >just the built in complier as far as i know =]
    Not helpful.

    >but whats the favorite one around
    If there were a favorite, do you think so many would be available? If you don't like Dev-C++, try Visual C++ 2005 Express. It's a free download and you might like the interface better.
    My best code is written with the delete key.

  5. #20
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    ive managed to find a "hello world" program, that hasnt got any errors, but i Compile and Run it, and it says compiling, but nothing else happens after, is there a window meant to come up with the program?
    This FAQ and this FAQ are the ones that Prelude mentioned. If this is the problem you are having, it's a Windows "feature" that closes the console window when the program ends. The "problem" is not caused by C++ itself. With Windows, your program needs to pause (or loop) if you want the window to remain open.

    "21 Days" was my first C++ book. I found it easy to understand, and I really liked the fact that it's designed as a self-study course with questions & exercises at the end of each chapter ("day"), with answers and solutions in the back. (However, pay close attention to what Prelude says! She knows more than 90% of us here!)

    With most programming books, you have to make-up your own exercises which can be difficult when you a beginner, or even if you are a more advanced "student", and you don't have a use in-mind for the topic covered in the particular chapter.
    Last edited by DougDbug; 01-23-2007 at 04:47 PM.

  6. #21
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    21 Days is just ok. It gets a meh. Also, another free (and great) IDE is Code::Blocks.
    PS: Prelude, I like the new logo.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  7. #22
    Registered User
    Join Date
    Jan 2005
    Posts
    7,366
    The problem is that there aren't a lot of good books for a 13 year old new to programming and learning C++. The ones that have a style suitable to such a student have content issues, and the one that is widely acknowldeged as having the best content is not exactly intended for those new to programming.

    If anybody knows of a book intended for true beginners that teaches modern C++ I would love to hear of it.

  8. #23
    Registered User
    Join Date
    Aug 2006
    Posts
    14
    To give a different perspective, I started learning programming when I was about 10 using a mac program called HyperCard. This was a very simple program and programming language (much simpler that visual basic even) that allowed you to write interesting programs with gui's very quickly. One of the coolest features (in my opionion when I was 10) was that you could write
    Code:
    speak "I am speaking", Fred
    and the words "I am speaking" were spoken the the speakers.

    Then when I was 13 or so we got a new computer and my parents bought me visual basic 6 student edition. This was a step up from hyper-card, and I made a heap of little programs with it such as games, and other things.

    A couple of years ago I started uni doing programming and learnt java and as part of the course had to make a game with it along with other things.
    Then last year, I also had to learn Objective C, prolog, haskell and then in my spare time, c++.

    The point I am trying to make is that you don't need to base your decision on what programming language to use on which would be most powerful in the future. Who knows what language would be the most common in 10 years time. Also, time spent learning any language will help you in the future. It took me years to learn how to program complex applications in vb, but it only took me 3 months to learn c++ and do Gui's with it. This is because while people talk about how different programming languages are, in reality they are more similar than different.

    In my opinion then you should choose a programming language that gives immediate rewards for using it. VB is a good one, but another one could be game-maker. This lets you make games with little or no programming, but would still teach you the basics of programming.

    The worst thing you could do is start by learning the hardest commonly used language to use (which is c++), get frustrated with strange incomprehensible errors and give up programming as too hard.
    download vb express: http://msdn.microsoft.com/vstudio/express/vb/
    download game maker: http://www.gamemaker.nl/download.html

  9. #24
    MFC killed my cat! manutd's Avatar
    Join Date
    Sep 2006
    Location
    Boston, Massachusetts
    Posts
    870
    I disagree. I think C++ is easy to learn as long as you take it in small steps. Once you've got the language basics, you can move on to more complex stuff, eventually bringing yourself up to the level where you can get a job programming.
    Silence is better than unmeaning words.
    - Pythagoras
    My blog

  10. #25
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    937
    As Stroustrup points out, the Standard Library allows for C++ to be taught at a very high level, with language-level implementations (i.e. memory management) being taught later. I read an essay on C++ pedagogy once -- apparently it's a tough thing to do.
    Last edited by CodeMonkey; 01-23-2007 at 07:47 PM. Reason: spelling
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Another n00b question: storing text as a variable
    By Jmcrofts in forum C++ Programming
    Replies: 1
    Last Post: 07-29-2007, 08:12 AM
  2. n00b question... deleting an object
    By revelation437 in forum C++ Programming
    Replies: 6
    Last Post: 05-05-2003, 07:39 PM
  3. n00b question
    By gcn_zelda in forum C++ Programming
    Replies: 4
    Last Post: 03-20-2003, 09:28 AM
  4. opengl DC question
    By SAMSAM in forum Game Programming
    Replies: 6
    Last Post: 02-26-2003, 09:22 PM